/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.portlet.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the role service. Represents a row in the &quot;dtbase_role&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.portlet.model.impl.roleModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.portlet.model.impl.roleImpl}.
 * </p>
 *
 * @author Thi
 * @see role
 * @see com.portlet.model.impl.roleImpl
 * @see com.portlet.model.impl.roleModelImpl
 * @generated
 */
public interface roleModel extends BaseModel<role> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a role model instance should use the {@link role} interface instead.
	 */

	/**
	 * Returns the primary key of this role.
	 *
	 * @return the primary key of this role
	 */
	public String getPrimaryKey();

	/**
	 * Sets the primary key of this role.
	 *
	 * @param primaryKey the primary key of this role
	 */
	public void setPrimaryKey(String primaryKey);

	/**
	 * Returns the ma role of this role.
	 *
	 * @return the ma role of this role
	 */
	@AutoEscape
	public String getMaRole();

	/**
	 * Sets the ma role of this role.
	 *
	 * @param maRole the ma role of this role
	 */
	public void setMaRole(String maRole);

	/**
	 * Returns the ten role of this role.
	 *
	 * @return the ten role of this role
	 */
	@AutoEscape
	public String getTenRole();

	/**
	 * Sets the ten role of this role.
	 *
	 * @param tenRole the ten role of this role
	 */
	public void setTenRole(String tenRole);

	/**
	 * Returns the ghi chu of this role.
	 *
	 * @return the ghi chu of this role
	 */
	@AutoEscape
	public String getGhiChu();

	/**
	 * Sets the ghi chu of this role.
	 *
	 * @param ghiChu the ghi chu of this role
	 */
	public void setGhiChu(String ghiChu);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(role role);

	public int hashCode();

	public CacheModel<role> toCacheModel();

	public role toEscapedModel();

	public role toUnescapedModel();

	public String toString();

	public String toXmlString();
}